﻿using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Himall.Entity.Config
{
   public class HomeCategoryRowInfoConfig : EntityTypeConfiguration<HomeCategoryRowInfo>
    {
        public HomeCategoryRowInfoConfig()
        {
            ToTable("Himall_HomeCategoryRows");
            Property(item => item.Image1).HasColumnType("varchar").HasMaxLength(200);
            Property(item => item.Image2).HasColumnType("varchar").HasMaxLength(200);
            Property(item => item.Url1).HasColumnType("varchar").HasMaxLength(200);
            Property(item => item.Url2).HasColumnType("varchar").HasMaxLength(200);
        }
    }
}
